package com.mali.common.util;

public class RedisConstant {
    public static final String REDIS_KEY_USER_TOKEN = "user_token:";
    public static final String REDIS_KEY_USER_INFO = "user_info:";
    public static final String REDIS_KEY_USER_ROLE = "user_role:";
    public static final String REDIS_KEY_USER_PERMISSION = "user_permission:";

    public static final String REDIS_KEY_AUTH_CODE = "auth_code:";

    public static final int REDIS_EXPIRE_AUTH_CODE = 60 * 5;
    public static final int REDIS_EXPIRE_USER_TOKEN = 30 * 60 * 5;
    public static final int REDIS_EXPIRE_USER_ROLE = 30 * 60 * 5;
    public static final int REDIS_EXPIRE_USER_INFO = 30 * 60 * 5;
}
